import java.util.Scanner;

public class IfDemo03 {
    public static void main(String[] args) {
        String account = "123456";
        int password = 12345;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入账号");
        String iacc = scanner.next();// 你输入的账号
        System.out.println("请输入密码");
        int ipwd = scanner.nextInt();
        if (account.equals(iacc) && password == ipwd) {
            System.out.println("登录成功");

        } else {
            System.out.println("登录失败");
        }

        System.out.println(account);
        System.out.println("account");


    }
}
